home *** CD-ROM | disk | FTP | other *** search
/ Web Designer 98 (Professional) / WebDesigner 1.0.iso / htmled1 / inp11db16.exe / data.z / shipping.infile < prev    next >
Encoding:
Text File  |  1996-10-10  |  6.5 KB  |  228 lines

  1. $outvar(devnull)
  2. <!--------------------------------------------------------------------
  3.     po/shipping.infile - Blend infile used by both client and server
  4.                         to produce the Shipping page of the WebPO order
  5.                         system.  Pulled into po.blend.
  6.     
  7.     1996-09-25 RKJ-000    Original version 
  8. -->
  9. $endout
  10. <TABLE CELLPADDING="2">
  11. <TR VALIGN="Top">
  12. <TD><IMG src="$BASEHREF$images/catalog.gif" alt="Catalog Icon" border=0 height=100 width=100><BR>
  13. <IMG SRC="$poimage$webpo.gif" WIDTH="100" HEIGHT="23">
  14. </TD>
  15. <TD valign=middle>
  16. <H2>
  17. $CompanyName Order Shipping $if($InputError)Error $endif $if($equal($Preview,"1")) PREVIEW $endif
  18. </H2>
  19. </TD>
  20. </TR>
  21. </TABLE>
  22. $if($equal($Preview,"1")) 
  23.     <h5>
  24.     NOTE- This is sample data.  For this preview, we've created a 
  25.     mock-up Shipping page using your catalog items and sample 
  26.     user input. The quantities entered and shipping information are 
  27.     for preview purposes only.
  28.     </h5>
  29. $endif
  30.  
  31. $if($InputError)
  32.   <h2>
  33.    <FONT COLOR="#EE0000" SIZE=+1>A required field is missing, please verify these items in your order: 
  34.     <UL> $if($not($CuName)) <li>Company or Customer Name $endif
  35.         $if($not($phone))    <li>Phone number $endif
  36.         $if($not($email))    <li>E-mail address $endif
  37.       </ul>
  38.      </FONT>
  39.     </h2>
  40. $endif
  41. $if($equal($preview,"true"))
  42.     <form method="GET" action="#Top">
  43. $else
  44.         $if($and($eq($CreditCardEnabled,1),$UserSSL))
  45.             <form method="POST" action="$SecureServer$$SCRIPT_NAME$">
  46.         $else
  47.             <form method="POST" action="$HttpServer$$SCRIPT_NAME$">
  48.         $endif
  49. $endif
  50. <input type=hidden name="blender" value="$blender$">
  51. <input type=hidden name="UserSSL" value="$UserSSL$">
  52. <input type=hidden name="CompanyShortName" value="$CompanyShortName$">
  53. $set(ChangeValue,"Disallow")
  54.  
  55. <CENTER>
  56. <P>
  57.   
  58. </CENTER>
  59.   <P>
  60.   <FONT SIZE=+1><FONT SIZE=+1>Please Enter Your Account Information</FONT></FONT><BR>
  61. <LI>If you do not have an account with us yet, we
  62.   will contact you once we receive this order
  63. <LI>Fields with an <FONT COLOR="#EE0000">*</FONT> are mandatory.
  64. <P> 
  65.   <TABLE CELLPADDING="2">
  66.     <TR>
  67.       <TD><FONT COLOR="#EE0000" SIZE=+1>
  68.       $if($and($InputError,$not($CuName)))
  69.         <blink>*</blink>Company or Customer Name</FONT>:</TD>
  70.       $else
  71.         *</FONT>Company or Customer Name:</TD>
  72.       $endif
  73.       <TD><INPUT TYPE="text" NAME="CuName" value="$CuName$" size="40"></TD></TR>
  74. <TR>
  75.       <TD>Contact Name:</TD>
  76.       <TD><INPUT TYPE="text" NAME="Contact" value="$Contact$" size="40"></TD></TR>
  77.  
  78.       <TR><TD>Customer ID:</TD>
  79.       <TD><INPUT TYPE="text" NAME="CustomerID" value="$CustomerID$" size="40"></TD>
  80.     </TR>
  81.     <TR>      
  82.     <TD><FONT COLOR="#EE0000" SIZE=+1>    
  83.       $if($and($InputError,$not($phone)))
  84.         <blink>*</blink>Phone:</FONT></TD>
  85.       $else
  86.         *</FONT>Phone:</TD>
  87.       $endif
  88.       <TD><INPUT TYPE="text" NAME="phone" value="$phone$" size="25"></TD>
  89.     </TR>
  90.     <TR>
  91.       <TD><FONT COLOR="#EE0000" SIZE=+1>
  92.       $if($and($InputError,$not($email)))
  93.         <blink>*</blink>E-mail</FONT>:</TD>
  94.       $else
  95.         *</FONT>E-mail:</TD>
  96.       $endif
  97.       <TD><INPUT TYPE="text" NAME="email" value="$email$" size="25"></TD>
  98.     </TR>
  99.  
  100. </TABLE>
  101. <P>
  102. <TABLE>
  103.     <TR>
  104.       <TD COLSPAN=4 align=left><FONT SIZE=+1>Please Enter Shipping Instructions</FONT><P></TD>
  105.     </TR>
  106.     <TR>
  107.       <TD>Address 1:</TD>
  108.       <TD COLSPAN=3><INPUT TYPE="text" NAME="address1" value="$address1$" SIZE="50"></TD>
  109.     </TR>
  110.     <TR>
  111.       <TD>Address 2:</TD>
  112.       <TD COLSPAN=3><INPUT TYPE="text" NAME="address2" value="$address2$" SIZE="50"></TD>
  113.     </TR>
  114.     <TR>
  115.       <TD colspan=1>City:</TD>
  116.       <TD colspan=3><INPUT TYPE="text" NAME="City" value="$City$"></TD></TR>
  117. <TR>
  118.       <TD colspan=1>State/Province: </td>
  119.  
  120.       <td colspan=3><INPUT TYPE="text" NAME="State"  value="$State$" MAXLENGTH="15"></TD>
  121.     </TR>
  122.     <TR>
  123.       <TD>Country:</TD>
  124.       <TD>
  125.         $if($not($country))
  126.           $set(country,"US")
  127.         $endif
  128.  
  129.         $if($equal($Preview,"1"))
  130.             <INPUT TYPE="text" NAME="country"  value="$country$" MAXLENGTH="15">
  131.         $else
  132.             $infile("countryselect.blendmac","country",$country)
  133.         $endif
  134.       </TD></TR>
  135. <TR>
  136.       <TD>ZIP/ Postal Code 
  137.       <td colspan=3><INPUT TYPE="text" NAME="zip" value="$zip$"></TD>
  138.     </TR>
  139.     <TR>
  140.       <TD>Special Instructions:</TD>
  141.       <TD COLSPAN=3>
  142.         <TEXTAREA NAME="instructions" rows=3 cols=48 wrap=physical>$instructions$</TEXTAREA>
  143.       </TD>
  144.     </TR>
  145.     $if($ShippingInst)
  146.     <TR>
  147.       <TD colspan=4><p><FONT SIZE=+1>Company Shipping and Tax Information:</FONT><br></TD></TR>
  148.       <TR><td></td><TD COLSPAN=3>
  149. $ShippingInst <p>
  150.       </TD>
  151.     </TR>
  152.     $endif
  153. </table>
  154.  
  155.     $if($eq($CreditCardEnabled,1))
  156.         <!-- make sure the user can support an SSL connection -->
  157.         $if($or($and($not($Preview),$UserSSL),$equal($Preview,"1")))
  158.               <FONT SIZE=+1>Credit Card Information</FONT><P>
  159.                     $if($equal($Preview,"1"))
  160.                         NOTE: This information will be gathered using a secure SSL connection once 
  161.                                 you have published your site.<p>
  162.                     $endif
  163.   <TABLE CELLPADDING="2">
  164.     <TR>
  165.       <TD>
  166.         Card Type:
  167.       </TD>
  168.       <TD>
  169.         <SELECT NAME="creditcardtype">
  170.         <INPUT TYPE="text" NAME="creditcardtype" SIZE="30">
  171.       </TD>
  172.     </TR>
  173.     <TR>
  174.       <TD>
  175.         Card Holder Name:
  176.       </TD>
  177.       <TD>
  178.         <INPUT TYPE="text" NAME="creditcardname" SIZE="40">
  179.       </TD>
  180.     </TR>
  181.     <TR>
  182.       <TD>
  183.         Card Number:
  184.       </TD>
  185.       <TD>
  186.         <INPUT TYPE="text" NAME="creditcardnumber" VALUE="0000-0000-0000-0000" SIZE="19">
  187.       </TD>
  188.     </TR>
  189.     <TR>
  190.       <TD>
  191.         Expiration Date:
  192.       </TD>
  193.       <TD>
  194.         Mn
  195.         <INPUT TYPE="numeric" NAME="creditcardmonth" SIZE="2" maxlength="2">Yr
  196.         <INPUT TYPE="numeric" NAME="creditcardyear" VALUE="96" SIZE="2" maxlength="2">
  197.       </TD>
  198.     </TR>
  199.   </TABLE>
  200.         $endif
  201.     $endif
  202. <P>
  203.   $if($equal($Preview,"1"))
  204.         $infile("$CurDir$\po\lineitems.infile")
  205.   $else    
  206.       $infile("po/lineitems.infile")
  207.   $endif
  208.   <input type=hidden name=FromPage value="Shipping">
  209.  
  210.    $if($not($MailConfirm))
  211.     $set(MailConfirm,"text")
  212.    $endif
  213.    <p>Which format would you prefer for your email confirmation? 
  214.     <input type=radio name="MailConfirm" value="text" $if($equal($MailConfirm,"text")) checked $endif$>  Text
  215.     <input type=radio name="MailConfirm" value="html" $if($equal($MailConfirm,"html")) checked $endif$>  HTML
  216.     <input type=radio name="MailConfirm" value="none" $if($equal($MailConfirm,"none")) checked $endif$>  None <p>
  217.    <Center>
  218.       $if($equal($Preview,"1"))
  219.             $infile("$CurDir$\po\pobuttons.infile")
  220.       $else
  221.         $infile("po/pobuttons.infile")
  222.       $endif
  223.   </Center>
  224. <P>
  225. </CENTER>
  226. </FORM>
  227. <P>
  228.